﻿using NewLife.Collections;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GXRTBTC.PublicClassLibrary.Model
{
    public class PostgreSQLPool : ObjectPool<DbCommand>
    {
        public DbConnection dbConnection { get; set; }

        /// <summary>
        /// 创建实例
        /// </summary>
        /// <returns></returns>
        protected override DbCommand OnCreate() => dbConnection.CreateCommand();
    }
}
